package com.dong.mybatis.mapper;

import com.dong.mybatis.entity.Zone1;
import com.dong.mybatis.entity.Zone3;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dong
 * @since 2025-09-07
 */
@Mapper
public interface Zone3Mapper extends BaseMapper<Zone3> {
    @Select("SELECT * FROM zone3 ORDER BY time DESC LIMIT 1")
    Zone3 selectLatest();
}
